[][src]Crate a2d

Structs

A2DError
Color
Dimensions

Dimensions of a rectangle

Graphics2D
Instance

Instance data. Data passed to the GPU per sprite in a sprite batch.

Point
Rect

Rect struct to make it more convenient to construct sprite instances Assumes a2d coordinates (i.e. origin at upper-left corner)

SpriteBatch
SpriteBatchId
SpriteMapDimensions

Describes the dimensions of how the underlying sprite sheet is divided for this sprite map

SpriteSheetId
TextGrid

Convenience struct for drawing text on the screen. Currently, functionality is pretty limited: * only able to use the Courier font bundled with A2D, * only ASCII text is supported

Enums

SpriteBatchDesc
SpriteSheetDesc

Type Definitions

Result